package com.weizhi.server.service;

import com.alibaba.fastjson.JSONObject;
import com.github.pagehelper.PageInfo;
import com.weizhi.server.dto.UserDto;

import java.util.List;

public interface UserService {

    void save(UserDto user);

    void editPassword(UserDto user);

    void delete(Long id);

    PageInfo list(JSONObject param);

    List<UserDto> all();

    UserDto login(UserDto user);
}
